package com.bbva.general.threads;

import org.springframework.core.task.TaskExecutor;

public class AdminHilos
{
	private TaskExecutor monitorThreads;
	
	public AdminHilos(TaskExecutor monitorThreads)
	{
		this.monitorThreads = monitorThreads;
	}
	
	public void addOrderToQueue(HiloEjecucion hiloFormato50){
		monitorThreads.execute(hiloFormato50);
	}
	
}
